\hypertarget{class_word_data}{
\subsection{WordData Class Reference}
\label{class_word_data}\index{WordData@{WordData}}
}
Describes a \hyperlink{class_word}{Word} data for the PL lanaguage.  


{\tt \#include $<$WordData.h$>$}

Inheritance diagram for WordData:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=182pt]{class_word_data__inherit__graph}
\end{center}
\end{figure}
\subsubsection*{Public Types}
\begin{CompactItemize}
\item 
enum \hyperlink{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8}{DataType} \{ \hyperlink{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c81184e103335a3eca145a83dea2a688d8}{ERROR}, 
\hyperlink{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8d192581e9c08e1628d79b2b3191e00dd}{EMPTY}
 \}
\begin{CompactList}\small\item\em The valid \hyperlink{class_word}{Word} Data types. \item\end{CompactList}\end{CompactItemize}
\subsubsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{class_word_data_ef2dee10b8386fbd38615dfd68b993a8}{WordData} (\hyperlink{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8}{DataType} \_\-type)
\begin{CompactList}\small\item\em Constuctor. \item\end{CompactList}\item 
\hyperlink{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8}{DataType} \hyperlink{class_word_data_ef3d2995635c42c1de09314f374a4bed}{Type} ()
\begin{CompactList}\small\item\em Getter - type. \item\end{CompactList}\item 
bool \hyperlink{class_word_data_5ffc6f35a79ffda8ae6d1135f9d358b6}{Constant} ()
\begin{CompactList}\small\item\em Getter - Constant. \item\end{CompactList}\item 
void \hyperlink{class_word_data_650cebd5ab42bf532c3c1029cf6e5484}{setConstant} (bool \_\-const)
\begin{CompactList}\small\item\em Setter - Constant. \item\end{CompactList}\item 
string \hyperlink{class_word_data_94f85ab7375a07f4a42efd77b66230e0}{toString} ()
\begin{CompactList}\small\item\em A String representation of \hyperlink{class_word}{Word} Data. \item\end{CompactList}\end{CompactItemize}


\subsubsection{Detailed Description}
Describes a \hyperlink{class_word}{Word} data for the PL lanaguage. 

Base class for \hyperlink{class_word}{Word} data. Number, Bool and ID extend this class store specific \hyperlink{class_word}{Word} data types. 

\subsubsection{Member Enumeration Documentation}
\hypertarget{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8}{
\index{WordData@{WordData}!DataType@{DataType}}
\index{DataType@{DataType}!WordData@{WordData}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}enum {\bf WordData::DataType}}\hfill}
\label{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8}


The valid \hyperlink{class_word}{Word} Data types. 

This is all the valid \hyperlink{class_word}{Word} data types accepted by the PL language. The base class \hyperlink{class_word}{Word} Data stores the Data Type \begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{ERROR@{ERROR}!WordData@{WordData}}\index{WordData@{WordData}!ERROR@{ERROR}}\item[{\em 
\hypertarget{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c81184e103335a3eca145a83dea2a688d8}{
ERROR}
\label{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c81184e103335a3eca145a83dea2a688d8}
}]Error. \index{EMPTY@{EMPTY}!WordData@{WordData}}\index{WordData@{WordData}!EMPTY@{EMPTY}}\item[{\em 
\hypertarget{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8d192581e9c08e1628d79b2b3191e00dd}{
EMPTY}
\label{class_word_data_ae05147c590efb700f5dc1e5a8b1c5c8d192581e9c08e1628d79b2b3191e00dd}
}]Empty token. \end{description}
\end{Desc}



\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{class_word_data_ef2dee10b8386fbd38615dfd68b993a8}{
\index{WordData@{WordData}!WordData@{WordData}}
\index{WordData@{WordData}!WordData@{WordData}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}WordData::WordData ({\bf DataType} {\em \_\-type})}\hfill}
\label{class_word_data_ef2dee10b8386fbd38615dfd68b993a8}


Constuctor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-type}]\hyperlink{class_token}{Token} type \end{description}
\end{Desc}


\subsubsection{Member Function Documentation}
\hypertarget{class_word_data_ef3d2995635c42c1de09314f374a4bed}{
\index{WordData@{WordData}!Type@{Type}}
\index{Type@{Type}!WordData@{WordData}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}{\bf WordData::DataType} WordData::Type ()}\hfill}
\label{class_word_data_ef3d2995635c42c1de09314f374a4bed}


Getter - type. 

\begin{Desc}
\item[Returns:]Data type \end{Desc}
\hypertarget{class_word_data_5ffc6f35a79ffda8ae6d1135f9d358b6}{
\index{WordData@{WordData}!Constant@{Constant}}
\index{Constant@{Constant}!WordData@{WordData}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}bool WordData::Constant ()}\hfill}
\label{class_word_data_5ffc6f35a79ffda8ae6d1135f9d358b6}


Getter - Constant. 

\begin{Desc}
\item[Returns:]True if word is a constant else false. \end{Desc}
\hypertarget{class_word_data_650cebd5ab42bf532c3c1029cf6e5484}{
\index{WordData@{WordData}!setConstant@{setConstant}}
\index{setConstant@{setConstant}!WordData@{WordData}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void WordData::setConstant (bool {\em \_\-const})}\hfill}
\label{class_word_data_650cebd5ab42bf532c3c1029cf6e5484}


Setter - Constant. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-const}]Set if word is a constant or not \end{description}
\end{Desc}
\hypertarget{class_word_data_94f85ab7375a07f4a42efd77b66230e0}{
\index{WordData@{WordData}!toString@{toString}}
\index{toString@{toString}!WordData@{WordData}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}string WordData::toString ()}\hfill}
\label{class_word_data_94f85ab7375a07f4a42efd77b66230e0}


A String representation of \hyperlink{class_word}{Word} Data. 

\begin{Desc}
\item[Returns:]A string The string format will be: \par
 type: {\em int\/} const: {\em bool\/} \end{Desc}


Reimplemented in \hyperlink{class_data_bool_429af0218fd4e788509867dea3611fe0}{DataBool}, \hyperlink{class_data_i_d_7c8711da4097096e5e983f3fd71180dc}{DataID}, \hyperlink{class_data_number_e0aed326894ff8f7ceac0b08a8c554d6}{DataNumber}, and \hyperlink{class_data_procedure_664e27566a4bb5de0a76df0f2cf39af7}{DataProcedure}.